<!-- HTML header for doxygen 1.8.8-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <!-- For Mobile Devices -->
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
        <meta name="generator" content="Doxygen 1.8.18"/>
        <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
        <title>HElib: helib::PtrVector&lt; T &gt; Struct Template Reference</title>
        <!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
        <script type="text/javascript" src="dynsections.js"></script>
        <link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
        <link href="doxygen.css" rel="stylesheet" type="text/css" />
        <link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
        <link href='https://fonts.googleapis.com/css?family=Roboto+Slab' rel='stylesheet' type='text/css'>
		<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;1,700&family=Merriweather&family=Merriweather+Sans&family=Open+Sans&family=Poppins:ital@1&family=Roboto:ital,wght@0,400;1,300;1,900&display=swap" rel="stylesheet"> 
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
        <link href="jquery.smartmenus.bootstrap.css" rel="stylesheet">
        <script type="text/javascript" src="jquery.smartmenus.js"></script>
        <!-- SmartMenus jQuery Bootstrap Addon -->
        <script type="text/javascript" src="jquery.smartmenus.bootstrap.js"></script>
        <!-- SmartMenus jQuery plugin -->
    </head>
    <body style="font-family: 'Merriweather', serif;">
        <nav class="navbar navbar-default" role="navigation">
            <div class="container">
                <div class="navbar-header">
                    <a class="navbar-brand">HElib Implementing Homomorphic Encryption</a>
                </div>
            </div>
        </nav>
        <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
            <div class="content" id="content">
                <div class="container">
                    <div class="row">
                        <div class="col-sm-12 panel " style="padding-bottom: 15px;">
                            <div style="margin-bottom: 15px;">
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacehelib.html">helib</a></li><li class="navelem"><a class="el" href="structhelib_1_1_ptr_vector.html">PtrVector</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="structhelib_1_1_ptr_vector-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">helib::PtrVector&lt; T &gt; Struct Template Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Abstract class for an array of objects.  
 <a href="structhelib_1_1_ptr_vector.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_ptr_vector_8h_source.html">PtrVector.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for helib::PtrVector&lt; T &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="structhelib_1_1_ptr_vector.png" usemap="#helib::PtrVector_3C_20T_20_3E_map" alt=""/>
  <map id="helib::PtrVector_3C_20T_20_3E_map" name="helib::PtrVector_3C_20T_20_3E_map">
<area href="structhelib_1_1_ptr_vector___singleton.html" title="An implementation of PtrVector from a single T object." alt="helib::PtrVector_Singleton&lt; T &gt;" shape="rect" coords="0,56,189,80"/>
<area href="structhelib_1_1_ptr_vector__slice.html" title="An implementation of PtrVector as a slice of another PtrVector." alt="helib::PtrVector_slice&lt; T &gt;" shape="rect" coords="199,56,388,80"/>
<area href="structhelib_1_1_ptr_vector___vec_pt.html" title="An implementation of PtrVector using Vec&lt;T*&gt;" alt="helib::PtrVector_VecPt&lt; T &gt;" shape="rect" coords="398,56,587,80"/>
<area href="structhelib_1_1_ptr_vector___vec_t.html" title="An implementation of PtrVector using Vec&lt;T&gt;" alt="helib::PtrVector_VecT&lt; T &gt;" shape="rect" coords="597,56,786,80"/>
<area href="structhelib_1_1_ptr_vector__vector_pt.html" title="An implementation of PtrVector using vector&lt;T*&gt;" alt="helib::PtrVector_vectorPt&lt; T &gt;" shape="rect" coords="796,56,985,80"/>
<area href="structhelib_1_1_ptr_vector__vector_t.html" title="An implementation of PtrVector using vector&lt;T&gt;" alt="helib::PtrVector_vectorT&lt; T &gt;" shape="rect" coords="995,56,1184,80"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:abc089c886cc629d470c5773eae531b81"><td class="memItemLeft" align="right" valign="top">virtual T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhelib_1_1_ptr_vector.html#abc089c886cc629d470c5773eae531b81">operator[]</a> (long) const =0</td></tr>
<tr class="separator:abc089c886cc629d470c5773eae531b81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1791944a5b25238b009597d88e83bc13"><td class="memItemLeft" align="right" valign="top">virtual long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhelib_1_1_ptr_vector.html#a1791944a5b25238b009597d88e83bc13">size</a> () const =0</td></tr>
<tr class="separator:a1791944a5b25238b009597d88e83bc13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a5775f538d76c96e6bc5067044d8f77"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhelib_1_1_ptr_vector.html#a6a5775f538d76c96e6bc5067044d8f77">resize</a> (long newSize, <a class="el" href="api_attributes_8h.html#addf5ec070e9499d36b7f2009ce736076">UNUSED</a> const <a class="el" href="structhelib_1_1_ptr_vector.html">PtrVector</a> *another=nullptr)</td></tr>
<tr class="separator:a6a5775f538d76c96e6bc5067044d8f77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab731703604d61537a72ab8f2ca9c2735"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhelib_1_1_ptr_vector.html#ab731703604d61537a72ab8f2ca9c2735">~PtrVector</a> ()</td></tr>
<tr class="separator:ab731703604d61537a72ab8f2ca9c2735"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdc2a14a65d1d9e38cc95721ed245fd9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhelib_1_1_ptr_vector.html#afdc2a14a65d1d9e38cc95721ed245fd9">isSet</a> (long i) const</td></tr>
<tr class="separator:afdc2a14a65d1d9e38cc95721ed245fd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5da2b16e1e2cd897c06440c99e01550b"><td class="memItemLeft" align="right" valign="top">virtual long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhelib_1_1_ptr_vector.html#a5da2b16e1e2cd897c06440c99e01550b">numNonNull</a> (long first=0, long last=LONG_MAX) const</td></tr>
<tr class="separator:a5da2b16e1e2cd897c06440c99e01550b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bf579aa08ab3625ba489571fe0148b8"><td class="memItemLeft" align="right" valign="top">virtual const T *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structhelib_1_1_ptr_vector.html#a3bf579aa08ab3625ba489571fe0148b8">ptr2nonNull</a> () const</td></tr>
<tr class="separator:a3bf579aa08ab3625ba489571fe0148b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename T&gt;<br />
struct helib::PtrVector&lt; T &gt;</h3>

<p>Abstract class for an array of objects. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ab731703604d61537a72ab8f2ca9c2735"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab731703604d61537a72ab8f2ca9c2735">&#9670;&nbsp;</a></span>~PtrVector()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="structhelib_1_1_ptr_vector.html">helib::PtrVector</a>&lt; T &gt;::~<a class="el" href="structhelib_1_1_ptr_vector.html">PtrVector</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="afdc2a14a65d1d9e38cc95721ed245fd9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afdc2a14a65d1d9e38cc95721ed245fd9">&#9670;&nbsp;</a></span>isSet()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structhelib_1_1_ptr_vector.html">helib::PtrVector</a>&lt; T &gt;::isSet </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>i</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a5da2b16e1e2cd897c06440c99e01550b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5da2b16e1e2cd897c06440c99e01550b">&#9670;&nbsp;</a></span>numNonNull()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual long <a class="el" href="structhelib_1_1_ptr_vector.html">helib::PtrVector</a>&lt; T &gt;::numNonNull </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>first</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>last</em> = <code>LONG_MAX</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented in <a class="el" href="structhelib_1_1_ptr_vector__slice.html#a8c453d6aa154e480686dfc82b80c0fe4">helib::PtrVector_slice&lt; T &gt;</a>, <a class="el" href="structhelib_1_1_ptr_vector__vector_t.html#a46f021a0d256cb5e221763a21831a3db">helib::PtrVector_vectorT&lt; T &gt;</a>, and <a class="el" href="structhelib_1_1_ptr_vector___vec_t.html#a730d286bbba068be3c36ab69489a5d37">helib::PtrVector_VecT&lt; T &gt;</a>.</p>

</div>
</div>
<a id="abc089c886cc629d470c5773eae531b81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc089c886cc629d470c5773eae531b81">&#9670;&nbsp;</a></span>operator[]()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual T* <a class="el" href="structhelib_1_1_ptr_vector.html">helib::PtrVector</a>&lt; T &gt;::operator[] </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="structhelib_1_1_ptr_vector___singleton.html#adac3d90173d796a5f05afd108936dc39">helib::PtrVector_Singleton&lt; T &gt;</a>, <a class="el" href="structhelib_1_1_ptr_vector__slice.html#a6e32e8c177881cca566e9a5a08a7b918">helib::PtrVector_slice&lt; T &gt;</a>, <a class="el" href="structhelib_1_1_ptr_vector__vector_t.html#a77ddb054d9d3b96fd3975c4316f58794">helib::PtrVector_vectorT&lt; T &gt;</a>, <a class="el" href="structhelib_1_1_ptr_vector___vec_t.html#a3b565f0bbcb3681e6cdfc1c4eca25cbe">helib::PtrVector_VecT&lt; T &gt;</a>, <a class="el" href="structhelib_1_1_ptr_vector__vector_pt.html#a0dec1c13c3e3baeb4f23931bfbfc28e4">helib::PtrVector_vectorPt&lt; T &gt;</a>, and <a class="el" href="structhelib_1_1_ptr_vector___vec_pt.html#a82fdd9778f18cf7b87b12ea60dbf565b">helib::PtrVector_VecPt&lt; T &gt;</a>.</p>

</div>
</div>
<a id="a3bf579aa08ab3625ba489571fe0148b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3bf579aa08ab3625ba489571fe0148b8">&#9670;&nbsp;</a></span>ptr2nonNull()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual const T* <a class="el" href="structhelib_1_1_ptr_vector.html">helib::PtrVector</a>&lt; T &gt;::ptr2nonNull </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented in <a class="el" href="structhelib_1_1_ptr_vector__slice.html#aa63412d5d30d0397d5401cf9b9ae9172">helib::PtrVector_slice&lt; T &gt;</a>, and <a class="el" href="structhelib_1_1_ptr_vector___vec_t.html#a5bcfb83b4337e0e31367a1cae725affa">helib::PtrVector_VecT&lt; T &gt;</a>.</p>

</div>
</div>
<a id="a6a5775f538d76c96e6bc5067044d8f77"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a5775f538d76c96e6bc5067044d8f77">&#9670;&nbsp;</a></span>resize()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="structhelib_1_1_ptr_vector.html">helib::PtrVector</a>&lt; T &gt;::resize </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>newSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="api_attributes_8h.html#addf5ec070e9499d36b7f2009ce736076">UNUSED</a> const <a class="el" href="structhelib_1_1_ptr_vector.html">PtrVector</a>&lt; T &gt; *&#160;</td>
          <td class="paramname"><em>another</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented in <a class="el" href="structhelib_1_1_ptr_vector__vector_pt.html#ad1c539d9e2913a94f9f981810558c6c0">helib::PtrVector_vectorPt&lt; T &gt;</a>, and <a class="el" href="structhelib_1_1_ptr_vector___vec_pt.html#a96a6d280cd775de74ab9b91a9e35d09c">helib::PtrVector_VecPt&lt; T &gt;</a>.</p>

</div>
</div>
<a id="a1791944a5b25238b009597d88e83bc13"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1791944a5b25238b009597d88e83bc13">&#9670;&nbsp;</a></span>size()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual long <a class="el" href="structhelib_1_1_ptr_vector.html">helib::PtrVector</a>&lt; T &gt;::size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="structhelib_1_1_ptr_vector___singleton.html#adf0c220d9b50ba19bef8add90655f813">helib::PtrVector_Singleton&lt; T &gt;</a>, <a class="el" href="structhelib_1_1_ptr_vector__slice.html#a9e13512a1a7039cbd3fdc910331c6f62">helib::PtrVector_slice&lt; T &gt;</a>, <a class="el" href="structhelib_1_1_ptr_vector__vector_t.html#a39098ecd0d18e94eb5b0e03c32177834">helib::PtrVector_vectorT&lt; T &gt;</a>, <a class="el" href="structhelib_1_1_ptr_vector___vec_t.html#ad86a4d41f0525743ffca562e78d13564">helib::PtrVector_VecT&lt; T &gt;</a>, <a class="el" href="structhelib_1_1_ptr_vector__vector_pt.html#af74fbb7079d79823dad48dab1c6872b2">helib::PtrVector_vectorPt&lt; T &gt;</a>, and <a class="el" href="structhelib_1_1_ptr_vector___vec_pt.html#a086388e84b3dbc5db2ae7bb22948071e">helib::PtrVector_VecPt&lt; T &gt;</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>/HElib/include/helib/<a class="el" href="_ptr_vector_8h_source.html">PtrVector.h</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.8-->
<!-- start footer part -->
</div>
</div>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.18
</small></address>
</body>
        <script type="text/javascript" src="doxy-boot.js"></script>
</html>
